<div class="main">
  <div class="essay" *ngFor="let diary of diaries">
    <div class="title">
      <h3>{{diary.title}}</h3>
      <div class="time">
        {{diary?.createTime | date:"yyyy年MM月dd日"}}
      </div>
    </div>
    <div class="overview">
      <p><a *ngIf="diary.index" [routerLink]="['../detail',diary.index]">{{diary.overview}}<span>阅读更多...</span></a></p>
    </div>
  </div>
</div>
